/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const Iconyouqi: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M1001.3 539.9c-37 23.4-73.1 33.5-73.1 33.5-55.8 20.3-169 42.7-331.8 42.7s-276-22.3-331.8-42.7l-56.1-44.2c-2.4 1.3-4.6 2.6-6.8 4v80.7C265.4 652.7 418 680 596.3 680 832 680 1023 632.3 1023 573.4c0-11.7-7.8-23-21.7-33.5zM1001.3 321.2c-37 23.4-73.1 33.5-73.1 33.5-55.8 20.3-169 42.7-331.8 42.7s-276-22.3-331.8-42.7l-56.1-44.2c-2.4 1.3-4.6 2.6-6.8 4v80.7c63.8 38.8 216.4 66.2 394.7 66.2 235.6 0 426.7-47.8 426.7-106.7-0.1-11.7-7.9-22.9-21.8-33.5z"
        fill={getIconColor(color, 0, '#5CC560')}
      />
      <path
        d="M958.7 861.2c-2.5 39.1-22.3 51.9-31.7 55.7 0.4 0.1 0.8 0.3 1.1 0.4-55.8 20.3-169 42.7-331.8 42.7-135.7 0-236.7-15.5-299-32.4-4.4-0.7-8.7-1.5-12.5-2.4-7.1-1.7-13.2-4.3-18.6-7.3l-1.8-0.6c0.1 0 0.2-0.1 0.4-0.1-22-13-29.9-35.8-32.2-55.5-39.7 16.2-63 35.2-63 55.6 0 58.9 191 106.7 426.7 106.7S1023 976.2 1023 917.3c0-20.6-23.8-39.8-64.3-56.1z"
        fill={getIconColor(color, 1, '#666666')}
      />
      <path
        d="M596.3 0C360.7 0 169.7 47.8 169.7 106.7v72.4C65 245 1 360.1 1 486.4c0 125 65.2 241.6 168.6 307.1v123.8h64V162.9c75.3 30.3 209.5 50.5 362.7 50.5 153.4 0 287.5-20.3 362.7-50.7v754.7h64V106.7C1023 47.8 832 0 596.3 0zM169.7 714.2C104.6 658.3 65 574.9 65 486.4c0-89.6 39-172.3 104.6-228.1v455.9z m426.6-564.9c-162.8 0-276-22.3-331.8-42.7C320.3 86.3 433.5 64 596.3 64s276 22.3 331.8 42.7c-55.8 20.3-169 42.6-331.8 42.6z"
        fill={getIconColor(color, 2, '#666666')}
      />
    </svg>
  );
};

Iconyouqi.defaultProps = {
  size: 18,
};

export default Iconyouqi;
